package com.letu.mq.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Map;


/**
 * mq消息实体类
 */
@Data
public class MySimpleMessage implements Serializable {
    //body值
    private Object payload;

    //header值
    private Map<String, Object> headers;

    //topic
    private String topic;
}
